package com.mashibing.servicepassageruser.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: $dujunhua
 * @create: 2024/3/27 15:43
 * @description: 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "passenger_user")
public class PassengerUser {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 乘客手机号
     */
    @TableField(value = "passenger_phone")
    private String passengerPhone;

    /**
     * 乘客姓名
     */
    @TableField(value = "passenger_name")
    private String passengerName;

    /**
     * 乘客性别，0：女；1：男
     */
    @TableField(value = "passenger_gender")
    private Boolean passengerGender;

    /**
     * 状态，0：有效；1：失效
     */
    @TableField(value = "`state`")
    private Boolean state;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    /**
     * 乘客头像
     */
    @TableField(value = "profile_photo")
    private String profilePhoto;
}